import ajax from "../utils/axios";

export async function chatGptApi(message: string) {
  return await ajax.ajax({
    method: "POST",
    url: "/api",
    data: {
      message: message,
    },
  });
}
